import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui';
import { Button,Row} from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import './assets/global.css'
import MyChart from './components/MyChart.vue';
import axios from 'axios';
import request from "@/utils/request";


Vue.config.productionTip = false // 关闭生产模式下给出的提示

Vue.use(ElementUI,{size:"mini"})

Vue.component('pie-chart', MyChart)

Vue.use(Button)

Vue.use(Row)

Vue.prototype.request=axios

Vue.prototype.request=request

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')


